<?php
class YiiModelStoreWidget extends CWidget
{
    public $storeId;
    public $recordId;
    public $model;
    public $controllerName;
    public $autoload;

    public function run()
    {
        $this->render('yiimodelstorewidget',array(
            'storeid' => $this->storeId,
            'recordid' => $this->recordId,
            'model' => $this->model,
            'controllername' => $this->controllerName,
            'autoload' => is_null($this->autoload) ? 'true' : ($this->autoload == true ? 'true' : 'false')
        ));
    }
}
?>
